<%@page import="schedule.Schedule"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<jsp:useBean id='vo' class='schedule.ScheduleVo'/>
<jsp:setProperty property="*" name="vo"/>
<h1>입력!!</h1>

<%
Schedule S = new Schedule();
S.setVo(vo);
if(S.insert()){
	out.print("일정이 정상적으로 입력되었습니다.");
}else{
	out.print("저장중 오류 발생");
}
%>

	<input type='button' value='목록' id='btnCancel' onclick="location.href='index.jsp?inc_contents=schedule.jsp'">

<%=vo.getMid() %>
</body>
</html>